/*
 * @Description: 复制信息弹窗
 * @Author: iamsmiling
 * @Date: 2021-06-10 09:23:12
 * @LastEditTime: 2021-06-10 09:38:47
 */

import 'package:credit_business_circle/R/R.dart';
import 'package:credit_business_circle/components/dialog_wrapper/dialog_wrapper.dart';
import 'package:flutter/material.dart';

Future showCopyMessageDialog(BuildContext context) {
  return showDialog(
      context: context,
      builder: (BuildContext context) {
        return DialogWrapper(builder: (BuildContext context) {
          return Container(
            padding: EdgeInsets.only(
                top: R.dimen.dp24,
                bottom: R.dimen.dp30,
                left: R.dimen.dp24,
                right: R.dimen.dp24),
            child: Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                Container(
                  child: Text(
                    "复制信息",
                    style: TextStyle(
                        fontWeight: FontWeight.w600,
                        fontSize: R.dimen.sp16,
                        color: R.color.ff222222),
                  ),
                ),
                Container(
                  margin:
                      EdgeInsets.only(top: R.dimen.dp22, bottom: R.dimen.dp5),
                  child: Text(
                    "提供资源：",
                    style: TextStyle(
                        fontSize: R.dimen.sp14,
                        color: R.color.ff111111,
                        fontWeight: FontWeight.w600),
                  ),
                ),
                Container(
                  child: Text(
                    "很多机会和副驾驶的肌肤接受德国法国是法国式风格和施工方",
                    style: TextStyle(
                        fontSize: R.dimen.sp13, color: R.color.ff333333),
                  ),
                ),
                Container(
                  margin:
                      EdgeInsets.only(top: R.dimen.dp10, bottom: R.dimen.dp5),
                  child: Text(
                    "需求资源：",
                    style: TextStyle(
                        fontSize: R.dimen.sp14,
                        color: R.color.ff111111,
                        fontWeight: FontWeight.w600),
                  ),
                ),
                Container(
                  margin: EdgeInsets.only(bottom: R.dimen.dp24),
                  child: Text("返回的数据复活节大师傅艰苦撒旦反馈及时给克是法国扣税的官方",
                      style: TextStyle(
                          fontSize: R.dimen.sp13, color: R.color.ff333333)),
                ),
                GestureDetector(
                  child: Text(
                    "https://movie.youku.com/?spm=a2ha1.14919748_WEBHOME_GRAY.drawer4.d_zj1_3",
                    style: TextStyle(
                        color: R.color.ff118df6, fontSize: R.dimen.sp13),
                  ),
                )
              ],
            ),
          );
        });
      });
}
